import {
  ElButton,
  ElRow,
  ElContainer,
  ElHeader,
  ElAside,
  ElMain,
  ElTable,
  ElTableColumn,
  ElTag,
  ElPopover,
  ElLoading,
  ElMessage,
  ElMenu,
  ElMenuItem,
  ElMenuItemGroup,
  ElSubmenu,
  ElIcon,
  ElPagination,
  ElForm,
  ElFormItem,
  ElInput,
  ElSelect,
  ElOption,
  ElDatePicker,
  ElMessageBox,
} from "element-plus";

export default (app) => {
  app.use(ElButton);
  app.use(ElSelect);
  app.use(ElOption);
  app.use(ElInput);
  app.use(ElForm);
  app.use(ElFormItem);
  app.use(ElMenu);
  app.use(ElMenuItem);
  app.use(ElMenuItemGroup);
  app.use(ElSubmenu);
  app.use(ElIcon);
  app.use(ElRow);
  app.use(ElContainer);
  app.use(ElHeader);
  app.use(ElAside);
  app.use(ElMain);
  app.use(ElTable);
  app.use(ElTableColumn);
  app.use(ElTag);
  app.use(ElPopover);
  app.use(ElLoading);
  app.use(ElMessage);
  app.use(ElPagination);
  app.use(ElDatePicker);
  app.use(ElMessageBox);
  app.config.globalProperties.$message = ElMessage;
};
